package com.ruoyi.family.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医生信息，存储医院医生的基本身份信息对象 doc_doctor
 * 
 * @author ruoyi
 * @date 2025-08-12
 */
public class DocDoctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生ID，主键自增 */
    private Long id;

    /** 医生姓名，非空 */
    @Excel(name = "医生姓名，非空")
    private String doctorName;

    /** 医生年龄，非空 */
    @Excel(name = "医生年龄，非空")
    private Long age;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("doctorName", getDoctorName())
            .append("age", getAge())
            .toString();
    }
}
